/*********************************************************
          File Name:12.16.cpp
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Tue 15 Sep 2015 06:53:00 PM CST
**********************************************************/

#include <iostream>
#include <memory>

using std::unique_ptr;

// clang++ and g++ have diffrent error messages

int main()
{
        unique_ptr<int> a(new int(1));

        //unique_ptr<int> b(a);         wrong;
        
        unique_ptr<int> c;

        //c = a;                        wrong;
}
